package com.wechat.util;

import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.StrUtil;
import com.wechat.core.exception.ServiceException;

/**
 * 校验工具
 *
 */
public class AssertUtil extends Assert {
    
    
    public static void isBlank(CharSequence str, String msg) {
        if (StrUtil.isBlank(str)) {
            throw new ServiceException(msg);
        }
    }
}
